package ZY407;

import ZY407.ZY01;

public class ZY01_1 {
        public static void main(String[] args) {
            ZY01 c1=new ZY01();
            ZY01 c2=new ZY01();
            c1.setName("C++");
            c2.setName("mysq1");
            String name1=c1.getName();
            String name2=c2.getName();
            c1.setStuid(3);
            c2.setStuid(6);
            int id1=c1.getcouid();
            int id2=c2.getcouid();
            System.out.println("课程"+name1);
            System.out.println("课程"+name2);
            c1.older(id1,id2);
        }
    }
